package com.springmvc.handler;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;


/**
 * 异常处理之ResponseStatusExceptionResolver
 * 注解@ResponseStatus的使用
 */
@ResponseStatus(value = HttpStatus.FORBIDDEN,reason = "密码和用户名不符")
public class UserNameNotMatchPasswordException extends RuntimeException {
}
